SleepReplacer: a novel tool-based approach for replacing thread sleeps in selenium WebDriver test code
نویسندگان
چکیده
Abstract Assuring quality of web applications is fundamental, given their relevance in the today’s world. A possible way to reach this goal through end-to-end (E2E) testing, an approach which a application automatically tested by performing actions that user would do. With modern (for example, single-page applications), it great importance properly handle asynchronous calls test suite. In E2E Selenium WebDriver suites, are usually managed two ways: using thread sleeps or explicit waits. The first easier use, but inefficient and can lead instability (also called flakiness, problem often present suites makes us lose confidence testing phase), while second more efficient harder use because, if correct kind wait not carefully selected, introduce flakiness too. To help Testers, who opt for strategy, we work tool-based replace with waits suite without introducing new flakiness. We empirically validated our tool named SleepReplacer on four different found correctly automatic from 81 100% sleeps, leading significant reduction total execution time (i.e., 13 71%).
منابع مشابه
Disposable single-use electrochemical sensor: A novel hollow fiber based tool for environmental monitoring of cadmium
The objective of this study is to design a simple, fast, sensitive and single-use electrode with the simultaneous capability of preconcentration and measuring, for application in a three-electrode voltammetry system to identify and measure the heavy metal cadmium. The design process of this sensor consists of several stages. The polyurethane foam and multi walled carbon nanotubes nanoparticles ...
متن کاملPuzzle test: A tool for non-analytical clinical reasoning assessment
Most contemporary clinical reasoning tests typically assess non-automatic thinking. Therefore, a test is needed to measure automatic reasoning or pattern recognition, which has been largely neglected in clinical reasoning tests. The Puzzle Test (PT) is dedicated to assess automatic clinical reasoning in routine situations. This test has been introduced first in 2009 by Monajemi et al in the Oly...
متن کاملA Novel Approach for Detecting Relationships in Social Networks Using Cellular Automata Based Graph Coloring
All the social networks can be modeled as a graph, where each roles as vertex and each relationroles as an edge. The graph can be show as G = [V;E], where V is the set of vertices and E is theset of edges. All social networks can be segmented to K groups, where there are members in eachgroup with same features. In each group each person knows other individuals and is in touch ...
متن کاملNanotechnology and Neuroscience Convergence: A Novel Tool for Neurotransmitters Monitoring
Since neurotransmitters significantly influence the brain activity, our understanding of the human brain will remain imperfect until all aspects relating to them become clear. One of the key challenges in neuroscience researches and therapies is elucidating the mechanisms by which the neurotransmitter release take place and is regulated in quantity and in time. Despite the enormous number of st...
متن کاملNASBA Isothermal Technique: a Novel Tool for Mycobacterium tuberculosis Diagnosis
Background and Objectives: rapid, accurate and cost effective diagnosis of infectious and non infectious diseases is an essential step for treatment process. Nowadays, in Line with scientific progression in molecular biology, genetics and biochemistry which are based on biotechnology and genetic engineering aspects, new branch of medicine entitled molecular medicine is being derived. It can be ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: Software Quality Journal
سال: 2022
ISSN: ['0963-9314', '1573-1367']
DOI: https://doi.org/10.1007/s11219-022-09596-z